package tk.mybatis.springboot.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Id;

public class Coverage implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -4447638852496406543L;
	@Id
	private String id;

	private String amount;

	private String coverageCode;

	private String coverageName;

	private String flag;
	
	private String userid;

	private String insuredAmount;

	private String insuredPremium;
	
	private Date createdate;
	
	private Integer type;

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getAmount() {
		return amount;
	}

	public Coverage(){
		
	}
	
	public Coverage(String amount, String coverageCode, String coverageName, String flag, 
			String insuredAmount, String insuredPremium){
		this.amount = amount;
		this.coverageCode = coverageCode;
		this.coverageName = coverageName;
		this.flag = flag;
		this.insuredAmount = insuredAmount;
		this.insuredPremium = insuredPremium;
	}
	
	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getCoverageCode() {
		return coverageCode;
	}

	public void setCoverageCode(String coverageCode) {
		this.coverageCode = coverageCode;
	}

	public String getCoverageName() {
		return coverageName;
	}

	public void setCoverageName(String coverageName) {
		this.coverageName = coverageName;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getInsuredAmount() {
		return insuredAmount;
	}

	public void setInsuredAmount(String insuredAmount) {
		this.insuredAmount = insuredAmount;
	}

	public String getInsuredPremium() {
		return insuredPremium;
	}

	public void setInsuredPremium(String insuredPremium) {
		this.insuredPremium = insuredPremium;
	}
	
	
}
